package com.ruoyi.zsyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 师傅订单消息id对象 zsyh_service_order_message
 * 
 * @author yuexl
 * @date 2022-09-06
 */
public class ZsyhServiceOrderMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单消息id */
    private String id;

    /** 消息标题 */
    @Excel(name = "消息标题")
    private String messageTitle;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String messageContent;

    /** 分类 1系统消息 2配件消息 3费用消息 4交易消息 */
    @Excel(name = "分类 1系统消息 2配件消息 3费用消息 4交易消息")
    private String messageType;

    /** 师傅id(type=2,3,4的时候) */
    @Excel(name = "师傅id(type=2,3,4的时候)")
    private String userId;

    /** 订单id */
    @Excel(name = "订单id")
    private String orderId;

    /** 关联id 配件，费用等 */
    @Excel(name = "关联id 配件，费用等")
    private String relationId;

    /** 是否已读 0未读 1已读 */
    @Excel(name = "是否已读 0未读 1已读")
    private String isRead;

    /** 系统消息，已读师傅id。用逗号分隔 */
    @Excel(name = "系统消息，已读师傅id。用逗号分隔")
    private String readUserId;

    //系统消息 是否已读 0未读 1已读
    private String isReadUser;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMessageTitle(String messageTitle) 
    {
        this.messageTitle = messageTitle;
    }

    public String getMessageTitle() 
    {
        return messageTitle;
    }
    public void setMessageContent(String messageContent) 
    {
        this.messageContent = messageContent;
    }

    public String getMessageContent() 
    {
        return messageContent;
    }
    public void setMessageType(String messageType) 
    {
        this.messageType = messageType;
    }

    public String getMessageType() 
    {
        return messageType;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setRelationId(String relationId) 
    {
        this.relationId = relationId;
    }

    public String getRelationId() 
    {
        return relationId;
    }
    public void setIsRead(String isRead) 
    {
        this.isRead = isRead;
    }

    public String getIsRead() 
    {
        return isRead;
    }
    public void setReadUserId(String readUserId) 
    {
        this.readUserId = readUserId;
    }

    public String getReadUserId() 
    {
        return readUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("messageTitle", getMessageTitle())
            .append("messageContent", getMessageContent())
            .append("messageType", getMessageType())
            .append("userId", getUserId())
            .append("orderId", getOrderId())
            .append("relationId", getRelationId())
            .append("isRead", getIsRead())
            .append("readUserId", getReadUserId())
            .toString();
    }

    public String getIsReadUser() {
        return isReadUser;
    }

    public void setIsReadUser(String isReadUser) {
        this.isReadUser = isReadUser;
    }
}
